﻿using DynamicQuartz.Schedule.Core;
using Quartz;
using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;

namespace DynamicQuartz.Schedule.BusinessJob
{
    public class TestJob : QuartzScheduleBase
    {
        public TestJob()
        {
        }

        public override string Name => "测试服务";

        public override string Description => "";

        public override string Cron => "* * * * * ? *";

        public override async Task Execute(IJobExecutionContext context)
        {
            Console.WriteLine("测试服务" + DateTime.Now);
        }
    }
}
